package com.xcj.springai.entity;


import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "`ai_chat_conversation`", autoResultMap = true)
public class ChatConversationEntity {



  @TableId(value = "id", type = IdType.ASSIGN_ID)
  private String id;
  /**
   * 用户ID
   */
  @TableField("user_id")
  private String userId;

  /**
   * 会话标题
   */
  @TableField("title")
  private String title;
  /**
   * 创建时间
   */
  /**
   * 创建时间
   */
  @TableField(value = "`create_time`", fill = FieldFill.INSERT_UPDATE)
  private Date createTime;


}
